package com.lucher.tangstore.dao;

import com.lucher.tangstore.po.Product;
import com.lucher.tangstore.po.Supplier;

import java.util.List;

public interface SupplierMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Supplier record);

    int insertSelective(Supplier record);

    Supplier selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Supplier record);

    int updateByPrimaryKey(Supplier record);

    //自定义接口
    List<Supplier> findByList(Supplier record);

    List<Supplier> findByListForPage(Supplier record);

    int findByCount(Supplier record);

    Supplier findByName(String name);

}